package com.yeyks.commonReference.append.mattress.wechat.param;

import com.yeyks.common.em.mattress.OrderInfoMattressPayTypeEnum;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class MattressWechatPayServiceGenerateWeChatOrdersParam implements Serializable {

    private static final long serialVersionUID = 6993457033050654922L;

    /**
     * 支付类型
     *
     * @see OrderInfoMattressPayTypeEnum
     */
    private String payType;
    //公众号或小程序的openId
    private String openId;
    //商品描述
    private String body = "订单支付";
    //付款总额(单位/分)
    private Integer totalFee;
    //订单号
    private String orderNo;
    //操作ip
    private String createIp;
    //异步接收微信支付结果通知的回调地址，通知url必须为外网可访问的url，不能携带参数
    private String notifyUrl;
    //付款类型(交易类型trade_type,JSAPI--公众号支付、NATIVE--原生扫码支付、APP--app支付)
    private String tradeType;
    //附加字段json
    private String attach;


}
